<%@page import="com.mmy.domain.sys.TSysOrg"%>
<%@page import="com.mmy.domain.sys.VSysOrg"%>
<%@page import="com.mmy.domain.constzone.TConstZone"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<script type="text/javascript" src="js/jsp/back/org/orgIndex.js"></script>
		<title>旅行社信息</title>
	</head>
	<body>
		<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
		<div id="menu-back">
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom">
			<article>
				<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h1>旅行社资料管理</h1>
							</div>	
							
						 </div >
					</div>
				</header>
				<section class="container">
					
					
					<!-- 新建导游信息 -->
					<div class="information" >
					<form action="backsavecreateorg" class="info-form" name="orgForm" method="post" onSubmit="return orgSubmit(this);" >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>新建旅行社信息
						</h4>
					<div class="input-container">
					<table class="info-table">
					<tr>
					<th><label for="OrgName">公司姓名</label><span class="mustWrite">*</span></th>
					<td colspan="2">
					<input type="text" id="OrgName" name="OrgName" required="required"/>
					</td>
					<th><label for="UpOrgName">上级所属公司名称</label><span class="mustWrite">*</span></th>
					<td colspan="2"> 
					<select class="input-select-vlign"  id="UpOrgName"  name="UpOrgID" required="required">
								<option value="">---请选择---</option>
								<c:forEach var="lstSysOrg" items="${lstSysOrg}">
								<option value="${lstSysOrg.getOrgID()}">${lstSysOrg.getOrgName()}</option>
							</c:forEach>
					</select> 
					</td>
				</tr>
				<tr >
			<th><label for="OrgContact">联系人</label><span class="mustWrite">*</span></th>
					<td  colspan="2">
					<input type="text" id="OrgContact" name="Contact" required="required"/>
							</td>
					<th><label for="OrgMobile">手机号码</label><span class="mustWrite">*</span></th>
					<td colspan="2">
					<input type="text" id="OrgMobile" name="Mobile" required="required"/>	
					</td>
					
					
				</tr>
				
				
				<tr>
					<th><label for="OrgFax">传真</label></th>
					<td colspan="2">
					<input type="text" id="OrgFax" name="Fax" />
					</td>
					
					<th><label for="OrgTel">固话</label></th>
					<td colspan="2">
					<input type="text" id="OrgTel" name="Tel" />
						
					</td>
				</tr>
				
				<tr>
					<th><label for="OrgZoneID">区域</label><span class="mustWrite">*</span>	</th>
					<td colspan="5">				
						<select class="input-select-vlign  select-height" id="orgZoneID" name="Province" emptyOption="false" required="required"  onchange="changeSelect(this,'getLevel4','level3','City')" >
					<option value="">---请选择---</option>
					<c:forEach var="lstZoneProvince" items="${lstZoneProvince}">
						<option value="${lstZoneProvince.getZoneID()}">${lstZoneProvince.getZoneName()}</option>
						</c:forEach>
						</select>
						<select class='input-select-vlign  select-height City' name='City' id="orgCityID" emptyOption='false' required="required" onchange="changeSelect(this,'getLevel8','level4','ZoneID')">
						<option value="">---请选择---</option>
						</select> 	
						<select class='input-select-vlign  select-height ZoneID' name='ZoneID' id="zoneID" emptyOption='false' required="required">
							<option value="">---请选择---</option> 
						</select>
					</td>
					
					
				</tr>
					<tr>
							<th><label for="OrgAddress">地址</label><span class="mustWrite">*</span>	</th>
							<td colspan="5">
						<input type="text" id="OrgAddress" name="Address" required="required"/>
							
							</td>
					
				</tr>
				<tr>
					<th><label for="OrgMemo">备注</label></th>
					<td colspan="5">
						<textarea id="OrgMemo" name="Memo" ></textarea>	
					</td>
					
				</tr>
				
			</table>
			<center>
				<input type="submit" class="btn" value="保存" />
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
			</center> 
			</div>
			</form>
			</div>
			</section>
			</article>
			</main>
			<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
		<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>